﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DoAn_BumTruong_DesignPattern
{
    abstract class Component
    {
        public string Name { get; set; }
        public Component()
        {
        }
        public Component(string n)
        {
            this.Name = n;
        }
        public abstract void Add(Component cp);
        public abstract List<string> Display();
    }
}